package com.yindian.cos.easy.security.authentication.login.social.core;

/**
 * 获取access_token的抽象工厂
 *
 * @author zhangchuanhao
 * @create 2018/11/20
 */
public abstract class AbstractAccessTokenFactory {

    /**
     * 获取access_token
     *
     * @param code 授权码
     * @return
     */
    public abstract AccessToken getAccessToken(String code);

}
